package com.yanqu.road.entity.rebate;

import com.yanqu.road.entity.DataObject;

public class ChinaUserRebate extends DataObject {

	private long userId;

	private String openId;

	private String platformUserId;

	private long vipExp;

	private boolean buySecret;

	private boolean buyFund;

	private boolean buyYear;

	private boolean buyMonth;

	private boolean isGetVipExp;

	private boolean isGetSecret;

	private boolean isGetFund;

	private boolean isGetYear;

	private boolean isGetMonth;

	private long updateTime;

	private long rebateUserId;

	private String rebateUserName;

	public long getUserId() {
		return userId;
	}

	public void setUserId(long userId) {
		this.userId = userId;
	}

	public String getOpenId() {
		return openId;
	}

	public void setOpenId(String openId) {
		this.openId = openId;
	}

	public String getPlatformUserId() {
		return platformUserId;
	}

	public void setPlatformUserId(String platformUserId) {
		this.platformUserId = platformUserId;
	}

	public long getVipExp() {
		return vipExp;
	}

	public void setVipExp(long vipExp) {
		this.vipExp = vipExp;
	}

	public boolean isBuySecret() {
		return buySecret;
	}

	public void setBuySecret(boolean buySecret) {
		this.buySecret = buySecret;
	}

	public boolean isBuyFund() {
		return buyFund;
	}

	public void setBuyFund(boolean buyFund) {
		this.buyFund = buyFund;
	}

	public boolean isBuyYear() {
		return buyYear;
	}

	public void setBuyYear(boolean buyYear) {
		this.buyYear = buyYear;
	}

	public boolean isBuyMonth() {
		return buyMonth;
	}

	public void setBuyMonth(boolean buyMonth) {
		this.buyMonth = buyMonth;
	}

	public boolean isGetVipExp() {
		return isGetVipExp;
	}

	public void setGetVipExp(boolean getVipExp) {
		if(getVipExp != this.isGetVipExp){
			isGetVipExp = getVipExp;
			setUpdateOption();
		}
	}

	public boolean isGetSecret() {
		return isGetSecret;
	}

	public void setGetSecret(boolean getSecret) {
		if(getSecret != this.isGetSecret){
			isGetSecret = getSecret;
			setUpdateOption();
		}
	}

	public boolean isGetFund() {
		return isGetFund;
	}

	public void setGetFund(boolean getFund) {
		if(getFund != this.isGetFund){
			isGetFund = getFund;
			setUpdateOption();
		}
	}

	public boolean isGetYear() {
		return isGetYear;
	}

	public void setGetYear(boolean getYear) {
		if(getYear != this.isGetYear){
			isGetYear = getYear;
			setUpdateOption();
		}
	}

	public boolean isGetMonth() {
		return isGetMonth;
	}

	public void setGetMonth(boolean getMonth) {
		if(getMonth != this.isGetMonth){
			isGetMonth = getMonth;
			setUpdateOption();
		}
	}

	public long getUpdateTime() {
		return updateTime;
	}

	public void setUpdateTime(long updateTime) {
		if(updateTime != this.updateTime){
			this.updateTime = updateTime;
			setUpdateOption();
		}
	}

	public long getRebateUserId() {
		return rebateUserId;
	}

	public void setRebateUserId(long rebateUserId) {
		if(rebateUserId != this.rebateUserId){
			this.rebateUserId = rebateUserId;
			setUpdateOption();
		}
	}

	public String getRebateUserName() {
		return rebateUserName;
	}

	public void setRebateUserName(String rebateUserName) {
		if(!rebateUserName.equals(this.rebateUserName)){
			this.rebateUserName = rebateUserName;
			setUpdateOption();
		}
	}
}
